<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:ajax="http://www.apusic.com/jsf/ajax" xmlns:biz="http://www.kingdee.com/jsf/biz" xmlns="http://www.w3.org/1999/xhtml" xmlns:om="http://www.apusic.com/jsf/misc" xmlns:kd="http://www.kingdee.com/jsf/component" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:layout="http://www.apusic.com/jsf/layout" xmlns:h="http://java.sun.com/jsf/html" xmlns:w="http://www.apusic.com/jsf/widget" renderKitId="AJAX">
	<f:loadBundle basename="com.kingdee.bos.waf.winlet.resources.LocalStrings" var="msgs" />
	<f:loadBundle basename="com.kingdee.eas.lms.purchase.stock.web.StockNoticeEditUIBean" var="extraMsgs" />
	<kd />
	<w:head>
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/resource/common.css" />
		<link rel="stylesheet" type="text/css" href="#{skin.getSkinReourceURL('/widget/css/custom_edit.css')}" />
		<w:script language="javascript" src="/resource/common.js" />
	</w:head>
	<w:page id="EditUI" align="left">
		<w:form id="rootForm">
			<kd:kdRootLayout style="width:100%;" height="750" originalWidth="1016" originalHeight="750" border="0" jsvar="rootFreePanel" id="rootFreePanel">
				<kd:kdLayoutPanel x="5" y="5" width="1006" originalX="5" originalY="5" originalWidth="1006" height="741" originalHeight="741" classType="com.kingdee.bos.ctrl.web.Form" kdAnchor="12" border="0">
					<kd:kdLayout style="width:100%;" height="741" originalWidth="1006" originalHeight="741" border="0">
						<kd:kdLayoutPanel x="5" y="4" width="997" originalX="5" originalY="4" originalWidth="997" height="30" originalHeight="30" classType="com.kingdee.bos.ctrl.web.ToolBar" kdAnchor="12" border="0">
							<w:toolBar id="rootToolBar">
								<w:button id="btnSave" label="#{extraMsgs['btnSave.label']}" actionBinding="#{lms.purchase.stock.StockNoticeEditUIBean.saveAction}" />
								<w:button id="btnSubmit" label="#{extraMsgs['btnSubmit.label']}" actionBinding="#{lms.purchase.stock.StockNoticeEditUIBean.submitAction}" />
								<w:button id="btnCopy" label="#{extraMsgs['btnCopy.label']}" actionBinding="#{lms.purchase.stock.StockNoticeEditUIBean.copyNewAction}" />
								<w:button id="btnRemove" label="#{extraMsgs['btnRemove.label']}" actionBinding="#{lms.purchase.stock.StockNoticeEditUIBean.deleteAction}" />
								<w:button id="btnExit" label="#{extraMsgs['btnExit.label']}" actionBinding="#{lms.purchase.stock.StockNoticeEditUIBean.exitAction}" />
							</w:toolBar>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="575" y="614" width="270" originalX="575" originalY="614" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contCreator" border="0">
							<kd:labelContainer id="contCreator" width="270" height="19" disabled="true" visible="false" caption="#{extraMsgs['contCreator.caption']}" lineWidth="100" childItem="prmtCreator" jsvar="contCreator">
								<kd:promptBox id="prmtCreator" disabled="true" visible="false" jsvar="prmtCreator" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.creator}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="575" y="596" width="270" originalX="575" originalY="596" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contCreateTime" border="0">
							<kd:labelContainer id="contCreateTime" width="270" height="19" disabled="true" visible="false" caption="#{extraMsgs['contCreateTime.caption']}" lineWidth="100" childItem="kDDateCreateTime" jsvar="contCreateTime">
								<w:dateField id="kDDateCreateTime" disabled="true" visible="false" jsvar="kDDateCreateTime" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.createTime}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="279" y="617" width="270" originalX="279" originalY="617" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contLastUpdateUser" border="0">
							<kd:labelContainer id="contLastUpdateUser" width="270" height="19" disabled="true" visible="false" caption="#{extraMsgs['contLastUpdateUser.caption']}" lineWidth="100" childItem="prmtLastUpdateUser" jsvar="contLastUpdateUser">
								<kd:promptBox id="prmtLastUpdateUser" disabled="true" visible="false" jsvar="prmtLastUpdateUser" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.lastUpdateUser}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="552" y="638" width="270" originalX="552" originalY="638" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contLastUpdateTime" border="0">
							<kd:labelContainer id="contLastUpdateTime" width="270" height="19" disabled="true" visible="false" caption="#{extraMsgs['contLastUpdateTime.caption']}" lineWidth="100" childItem="kDDateLastUpdateTime" jsvar="contLastUpdateTime">
								<w:dateField id="kDDateLastUpdateTime" disabled="true" visible="false" jsvar="kDDateLastUpdateTime" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.lastUpdateTime}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="46" width="270" originalX="12" originalY="46" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contNumber" border="0">
							<kd:labelContainer id="contNumber" width="270" height="19" caption="#{extraMsgs['contNumber.caption']}" lineWidth="100" childItem="txtNumber" jsvar="contNumber">
								<w:textField id="txtNumber" disabled="true" required="true" jsvar="txtNumber" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.number}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="7" y="638" width="270" originalX="7" originalY="638" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contBizDate" border="0">
							<kd:labelContainer id="contBizDate" width="270" height="19" visible="false" caption="#{extraMsgs['contBizDate.caption']}" lineWidth="100" childItem="pkBizDate" jsvar="contBizDate">
								<w:dateField id="pkBizDate" disabled="true" visible="false" jsvar="pkBizDate" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.bizDate}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="279" y="638" width="270" originalX="279" originalY="638" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contDescription" border="0">
							<kd:labelContainer id="contDescription" width="270" height="19" visible="false" caption="#{extraMsgs['contDescription.caption']}" lineWidth="100" childItem="txtDescription" jsvar="contDescription">
								<w:textField id="txtDescription" disabled="true" visible="false" jsvar="txtDescription" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.description}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="8" y="617" width="270" originalX="8" originalY="617" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contAuditor" border="0">
							<kd:labelContainer id="contAuditor" width="270" height="19" visible="false" caption="#{extraMsgs['contAuditor.caption']}" lineWidth="100" childItem="prmtAuditor" jsvar="contAuditor">
								<kd:promptBox id="prmtAuditor" disabled="true" visible="false" jsvar="prmtAuditor" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.auditor}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="322" y="46" width="270" originalX="322" originalY="46" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contstockMaintainNumber" border="0">
							<kd:labelContainer id="contstockMaintainNumber" width="270" height="19" visible="true" caption="#{extraMsgs['contstockMaintainNumber.caption']}" lineWidth="100" childItem="prmtstockMaintainNumber" jsvar="contstockMaintainNumber">
								<kd:promptBox id="prmtstockMaintainNumber" disabled="true" visible="true" required="true" editable="true" displayFormat="$number$" editFormat="$number$" queryInfo="com.kingdee.eas.lms.purchase.stock.app.StockMaintainQuery" jsvar="prmtstockMaintainNumber" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.stockMaintainNumber}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="322" y="74" width="270" originalX="322" originalY="74" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contnoticeDate" border="0">
							<kd:labelContainer id="contnoticeDate" width="270" height="19" visible="true" caption="#{extraMsgs['contnoticeDate.caption']}" lineWidth="100" childItem="pknoticeDate" jsvar="contnoticeDate">
								<w:dateField id="pknoticeDate" disabled="true" visible="true" required="true" jsvar="pknoticeDate" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.noticeDate}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="632" y="46" width="270" originalX="632" originalY="46" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contsupplierNumber" border="0">
							<kd:labelContainer id="contsupplierNumber" width="270" height="19" visible="true" caption="#{extraMsgs['contsupplierNumber.caption']}" lineWidth="100" childItem="prmtsupplierNumber" jsvar="contsupplierNumber">
								<kd:promptBox id="prmtsupplierNumber" disabled="true" visible="true" required="true" editable="true" displayFormat="$number$" editFormat="$number$" queryInfo="com.kingdee.eas.basedata.master.cssp.app.PSupplierQuery" jsvar="prmtsupplierNumber" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.supplierNumber}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="74" width="270" originalX="12" originalY="74" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contsupplierName" border="0">
							<kd:labelContainer id="contsupplierName" width="270" height="19" visible="true" caption="#{extraMsgs['contsupplierName.caption']}" lineWidth="100" childItem="txtsupplierName" jsvar="contsupplierName">
								<w:textField id="txtsupplierName" disabled="true" visible="true" required="true" jsvar="txtsupplierName" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.supplierName}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="474" width="270" originalX="12" originalY="474" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contaccepter" border="0">
							<kd:labelContainer id="contaccepter" width="270" height="19" visible="true" caption="#{extraMsgs['contaccepter.caption']}" lineWidth="100" childItem="prmtaccepter" jsvar="contaccepter">
								<kd:promptBox id="prmtaccepter" disabled="true" visible="true" required="false" editable="true" displayFormat="$name$" editFormat="$number$" queryInfo="com.kingdee.eas.base.permission.app.UserListQuery" jsvar="prmtaccepter" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.accepter}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="103" width="888" originalX="12" originalY="103" originalWidth="888" height="160" originalHeight="160" classType="com.kingdee.bos.ctrl.web.EditDataGrid" kdAnchor="0" childItem="kdtEntrys" border="0">
							<w:editDataGrid id="kdtEntrys" style="overflow-x:auto;overflow-y:hidden;" height="160" var="data" value="#{lms.purchase.stock.StockNoticeEntryBean.listModel}" binding="#{lms.purchase.stock.StockNoticeEntryBean.editGrid}" showRowNumber="true" sync="true" jsvar="kdtEntrys">
								<w:idColumn id="id" header="id" width="100" idColumn="true" hidden="true" value="#{data.id}" align="left" />
								<w:outputColumn id="materielNumber" header="#{extraMsgs['materielNumber.header']}" width="100" hidden="false" value="#{data.materielNumber}" align="left">
									<kd:promptBox id="materielNumberEditor" queryInfo="com.kingdee.eas.basedata.master.material.app.F7MaterialBaseInfoQuery" displayFormat="$number$-$number$" />
								</w:outputColumn>
								<w:outputColumn id="materielName" header="#{extraMsgs['materielName.header']}" width="100" hidden="false" value="#{data.materielName}" align="left">
									<w:textField id="materielNameEditor" />
								</w:outputColumn>
								<w:outputColumn id="materielType" header="#{extraMsgs['materielType.header']}" width="100" hidden="false" value="#{data.materielType}" align="left">
									<w:textField id="materielTypeEditor" />
								</w:outputColumn>
								<w:outputColumn id="materielStandard" header="#{extraMsgs['materielStandard.header']}" width="100" hidden="false" value="#{data.materielStandard}" align="left">
									<w:textField id="materielStandardEditor" />
								</w:outputColumn>
								<w:outputColumn id="baseUnit" header="#{extraMsgs['baseUnit.header']}" width="100" hidden="false" value="#{data.baseUnit}" align="left">
									<w:textField id="baseUnitEditor" />
								</w:outputColumn>
								<w:outputColumn id="stockAmount" header="#{extraMsgs['stockAmount.header']}" width="100" hidden="false" value="#{data.stockAmount}" align="left">
									<w:numberField id="stockAmountEditor" />
								</w:outputColumn>
								<w:outputColumn id="deliverDate" header="#{extraMsgs['deliverDate.header']}" width="100" hidden="false" value="#{data.deliverDate}" align="left">
									<w:dateField id="deliverDateEditor">
										<kd:convertAllDate pattern="yyyy-MM-dd" castType="java.sql.Date" />
									</w:dateField>
								</w:outputColumn>
								<w:outputColumn id="accept" header="#{extraMsgs['accept.header']}" width="100" hidden="false" value="#{data.accept}" align="left">
									<w:checkBox id="acceptEditor" />
								</w:outputColumn>
								<w:outputColumn id="supplyAmount" header="#{extraMsgs['supplyAmount.header']}" width="100" hidden="false" value="#{data.supplyAmount}" align="left">
									<w:numberField id="supplyAmountEditor" />
								</w:outputColumn>
							</w:editDataGrid>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="373" width="888" originalX="12" originalY="373" originalWidth="888" height="92" originalHeight="92" classType="com.kingdee.bos.ctrl.web.FreePanel" kdAnchor="0" border="0">
							<kd:kdLayout style="width:100%;" height="92" originalWidth="888" originalHeight="92" border="0" id="kDPanel1">
								<kd:kdLayoutPanel x="20" y="16" width="848" originalX="20" originalY="16" originalWidth="848" height="64" originalHeight="64" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contpurchaseOpinion" border="0">
									<kd:labelContainer id="contpurchaseOpinion" width="848" height="64" visible="true" lineWidth="0" childItem="txtpurchaseOpinion" jsvar="contpurchaseOpinion">
										<w:textArea id="txtpurchaseOpinion" style="height:60px;margin-top:1px" visible="true" required="false" jsvar="txtpurchaseOpinion" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.purchaseOpinion}" />
									</kd:labelContainer>
								</kd:kdLayoutPanel>
							</kd:kdLayout>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="272" width="888" originalX="12" originalY="272" originalWidth="888" height="92" originalHeight="92" classType="com.kingdee.bos.ctrl.web.FreePanel" kdAnchor="0" border="0">
							<kd:kdLayout style="width:100%;" height="92" originalWidth="888" originalHeight="92" border="0" id="kDPanel2">
								<kd:kdLayoutPanel x="20" y="16" width="848" originalX="20" originalY="16" originalWidth="848" height="64" originalHeight="64" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contsupplierOpinion" border="0">
									<kd:labelContainer id="contsupplierOpinion" width="848" height="64" visible="true" lineWidth="0" childItem="txtsupplierOpinion" jsvar="contsupplierOpinion">
										<w:textArea id="txtsupplierOpinion" style="height:60px;margin-top:1px" visible="true" required="false" jsvar="txtsupplierOpinion" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.supplierOpinion}" />
									</kd:labelContainer>
								</kd:kdLayoutPanel>
							</kd:kdLayout>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="632" y="474" width="270" originalX="632" originalY="474" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contnotifier" border="0">
							<kd:labelContainer id="contnotifier" width="270" height="19" caption="#{extraMsgs['contnotifier.caption']}" lineWidth="100" childItem="prmtnotifier" jsvar="contnotifier">
								<kd:promptBox id="prmtnotifier" disabled="true" visible="true" required="false" editable="true" displayFormat="$name$" editFormat="$number$" queryInfo="com.kingdee.eas.base.permission.app.UserListQuery" jsvar="prmtnotifier" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.notifier}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="632" y="502" width="270" originalX="632" originalY="502" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contnoticeTime" border="0">
							<kd:labelContainer id="contnoticeTime" width="270" height="19" caption="#{extraMsgs['contnoticeTime.caption']}" lineWidth="100" childItem="pknoticeTime" jsvar="contnoticeTime">
								<w:dateField id="pknoticeTime" disabled="true" visible="true" required="false" jsvar="pknoticeTime" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.noticeTime}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="12" y="502" width="270" originalX="12" originalY="502" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contacceptTime" border="0">
							<kd:labelContainer id="contacceptTime" width="270" height="19" visible="true" caption="#{extraMsgs['contacceptTime.caption']}" lineWidth="100" childItem="pkacceptTime" jsvar="contacceptTime">
								<w:dateField id="pkacceptTime" disabled="true" visible="true" required="false" jsvar="pkacceptTime" value="#{lms.purchase.stock.StockNoticeEditUIBean.model.acceptTime}" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
						<kd:kdLayoutPanel x="632" y="74" width="270" originalX="632" originalY="74" originalWidth="270" height="22" originalHeight="22" classType="com.kingdee.bos.ctrl.web.LabelContainer" kdAnchor="0" childItem="contbillState" border="0">
							<kd:labelContainer id="contbillState" width="270" height="19" caption="#{extraMsgs['contbillState.caption']}" lineWidth="100" childItem="billState" jsvar="contbillState">
								<kd:enumCombo id="billState" disabled="true" required="false" type="#{extraMsgs['billState.type']}" jsvar="billState" />
							</kd:labelContainer>
						</kd:kdLayoutPanel>
					</kd:kdLayout>
				</kd:kdLayoutPanel>
			</kd:kdRootLayout>
			<biz:innerWindow beanName="#{lms.purchase.stock.StockNoticeEditUIBean}" />
		</w:form>
	</w:page>
	<script type="text/javascript">
	Ext.onReady(function(){
		var win_Width,win_Height;
		if(rootFreePanel.heightAdaptive) {
			win_Width = document.body.clientWidth;
			win_Height = document.body.clientHeight;
		}else{
			win_Width = document.body.clientWidth;
			win_Height = rootFreePanel.getSize().height;
		}
		rootFreePanel.onResize(win_Width, win_Height);
	});
</script>
</f:view>

